$(function(){
	
});

function Hover(obj, calssName) {
	obj.hover(function(){
		$(this).addClass(calssName);
	},function(){
		$(this).removeClass(calssName);
	})
}
jQuery.fn.LoadImage=function(scaling,obj){
		var n = obj.length;
		obj.each(function(){
			var $t = $(this);
			var img = new Image();
			img.onload = function(){
				n -- ;
				
				if(n == 0){
					
				}
			};
			img.src = $t.attr("src");
		});
	}

//$("body").LoadImage(true,$("img"));